package com.sn.system.common.validator.validators;

import com.sn.system.common.validator.ValidatorUtils;

public class DateFieldValidator extends AbstractRegexValidator{

	private String expression;	
	private String maxLength;

	public String getExpression() {
		if (expression == null || expression.trim().length() == 0)
            expression = ValidatorUtils.DateExpression;
		return expression;
	}
	public String getMaxLength() {
		  if (maxLength==null||maxLength.length()==0){
	        	//maxLength=DEFAULT_CHECK_CONFIG.kanziNameLength;
	        }
		return maxLength;
	}

	public void setMaxLength(String maxLength) {
		this.maxLength = maxLength;
	}
	public void setExpression(String expression) {
		this.expression = expression;
	}	

}
